package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfMemberGoldLogDao;
import com.wfcm.entity.WfMemberGoldLogEntity;
import com.wfcm.service.WfMemberGoldLogService;



@Service("wfMemberGoldLogService")
public class WfMemberGoldLogServiceImpl implements WfMemberGoldLogService {
	@Autowired
	private WfMemberGoldLogDao wfMemberGoldLogDao;
	
	@Override
	public WfMemberGoldLogEntity queryObject(Integer id){
		return wfMemberGoldLogDao.queryObject(id);
	}
	
	@Override
	public List<WfMemberGoldLogEntity> queryList(Map<String, Object> map){
		return wfMemberGoldLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfMemberGoldLogDao.queryTotal(map);
	}
	
	@Override
	public void save(WfMemberGoldLogEntity wfMemberGoldLog){
		wfMemberGoldLogDao.save(wfMemberGoldLog);
	}
	
	@Override
	public void update(WfMemberGoldLogEntity wfMemberGoldLog){
		wfMemberGoldLogDao.update(wfMemberGoldLog);
	}
	
	@Override
	public void delete(Integer id){
		wfMemberGoldLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfMemberGoldLogDao.deleteBatch(ids);
	}

	@Override
	public WfMemberGoldLogEntity queryByOrderCode(String out_trade_no) {
		// TODO Auto-generated method stub
		return wfMemberGoldLogDao.queryByOrderCode(out_trade_no);
	}

	@Override
	public List<String> queryMonth(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return wfMemberGoldLogDao.queryMonth(map);
	}
	
}
